﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace nr.Tombola.Net
{
    public class GameStatusEventArgs : ClientEventArgs
    {
        public int[] Numbers { get; set; }
        public GameStatusEventArgs(string numbersList)
            : base()
        {
            List<int> list = new List<int>();
            string[] numbers = numbersList.Split('|');
            foreach (string number in numbers)
                list.Add(int.Parse(number));
            Numbers = list.ToArray();
        }
    }
}
